//
//  UIImageView+Extension.m
//  图片拉伸
//
//  Created by J on 16/3/4.
//  Copyright © 2016年 J. All rights reserved.
//

#import "UIImage+Extension.h"

@implementation UIImage (Extension)
+ (UIImage*)resizableImage:(NSString*)imageName{
    
            UIImage* image = [UIImage imageNamed:imageName];
    return  [image stretchableImageWithLeftCapWidth:image.size.width*0.5 topCapHeight:image.size.height*0.5];

}
@end
